<style type="text/css" media="all">
	.tweetListTit {
		word-break: break-all;
		padding-top: 10px !important;
	}
	.name {
		color: #0882f0;
	}
	.nameContent {
		color: gray;
		font-size: 14px;
	}

</style>

<script id="atmeListTemplate" type="text/x-jquery-tmpl">
   <div class="tweetList" data-id=<%=id%> data-objType=<%=objectType%> data-objectId=<%=objectId%>>
	<div class="tweetListImg" data-authorid=<%=authorid%> data-author=<%=author%> data-id=<%=id%>>

	<%
if(portrait==="/img/portrait.gif"){
	portrait = "../base/img/widget_dface.ing"
}
	%>
		<img src="<%=portrait%>" alt="" onerror="javascript:this.src='../base/img/widget_dface.ing';"></div>
	<div class="tweetContent" data-id=<%=id%> data-objType=<%=objectType%> data-objectId=<%=objectId%>>
		<div>
			<span class="tweetListissuer">
				<span class="name"><%=author%></span>
				<% if(objectType == 32) { %>
						<span>加入了开源中国社区</span>
				<%}%>
				<% if(objectType == 1) { %>
						<span class="nameContent">
						添加了开源项目 <p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType==2 && objectCatalog==1) { %>
						<span class="nameContent">
						在讨论区提问：<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType==2 && objectCatalog==2) { %>
						<span class="nameContent">
						发布了活动 <p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType==2 && objectCatalog==3) { %>
						<span class="nameContent">
						发起了讨论：<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType==2 && objectCatalog==4) { %>
						<span class="nameContent">
						发表了新话题：<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType == 3) { %>
						<span class="nameContent">
						发表了博客<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType == 4) { %>
						<span class="nameContent">
						发表了一篇新闻<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType == 5) { %>
						<span class="nameContent">
						分享了一段代码<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType == 6) { %>
						<span class="nameContent">
						发布了一个职位<p class="pTit"><%=objectTitle%></p>
						</span>
				<%}%>
				<% if(objectType == 7) { %>
						<span class="nameContent">发布了一篇翻译文章</span>
				<%}%>
				<% if(objectType == 8) { %>
						<span class="nameContent">发布了一段翻译</span>
				<%}%>
				<% if(objectType == 16) { %>
						<span class="nameContent">
						在新闻：<p class="pTit"><%=objectTitle%></p>发表了评论：
						</span>
				<%}%>
				<% if(objectType==17&&objectCatalog==1) { %>
						<span class="nameContent">
						回答了问题 <p class="pTit"><%=objectTitle%></p> ：
						</span>
				<%}%>
				<% if(objectType==17&&objectCatalog==2) { %>
						<span class="nameContent"> 
						回复了活动 <p class="pTit"><%=objectTitle%></p> ：
						</span>
				<%}%>
				<% if(objectType==17&&objectCatalog==3) { %>
						<span class="nameContent">
						回复了讨论 <p class="pTit"><%=objectTitle%></p> ：
						</span>
				<%}%>
				<% if(objectType==17&&objectCatalog==4) { %>
						<span class="nameContent">
						回复了话题 <p class="pTit"><%=objectTitle%></p> ：
						</span>
				<%}%>
				<% if(objectType==17&&objectCatalog==5) { %>
						<span class="nameContent">
						在 <p class="pTit"><%=objectTitle%></p>对回帖发表了评论：
						</span>
				<%}%>
				<% if(objectType == 18) { %>
						<span class="nameContent">
						在博客：<p class="pTit"><%=objectTitle%></p> 发表评论：
						</span>
				<%}%>
				<% if(objectType == 19) { %>
						<span class="nameContent">
						在代码：<p class="pTit"><%=objectTitle%></p> 发表评论：
						</span>
				<%}%>
				<% if(objectType == 20) { %>
						<span class="nameContent">
						在职位：<p class="pTit"><%=objectTitle%></p> 发表评论：
						</span>
				<%}%>
				<% if(objectType == 21) { %>
						<span class="nameContent">
						在翻译文章：<p class="pTit"><%=objectTitle%></p> 发表评论：	
						</span>
				<%}%>
				<% if(objectType == 100) { %>
						<span class="nameContent">更新了动态：</span>
				<%}%>
				<% if(objectType == 101) { %>
						<span class="nameContent">回复了动态：</span>
				<%}%></span>
		</div>
		<div class="tweetListTit h5"><%=message%></div>
		<%
			if(tweetImage != ""){ %>

				<div class="listImg"><img src=<%=tweetImage%>></div>
			<% }
		%>
		<div class="tweetListInfo h6">
		<%
				var clientOrigin;
				if(appClient == 1)
					clientOrigin = 'WEB';
				else if(appClient == 2)
					clientOrigin = 'WAP';
				else if(appClient == 3)
					clientOrigin = 'Android';
				else if(appClient == 4)
					clientOrigin = 'IOS';
				else if(appClient == 5)
					clientOrigin = 'WP';

			%>
			<% if(clientOrigin != undefined) {%>
			<div>来自:<%=clientOrigin%></div>
			<%}%>
			<div><%=JSON.stringify(pubDate).substring(1,11)%></div>
			<div>
				<img src="../base/img/widget_comment_count_icon.ing" class="tweetListImginfo2"/>
				<span><%=commentCount%></span>
			</div>
			<div>
				<img src="../base/img/widget_redirect_icon.ing" class="tweetListImginfo2"/>
			</div>
		</div>
	</div>
</div>
</script>

<!-- header -->
<header class="bar-title">
	<h1 class="left-title">
		<span class="icon-question-sign"></span>
		我的空间
	</h1>
	<div class="right-banner">
		<span class="editBtn icon-edit imgsize"></span>
	</div>
</header>

<!-- uncomment this if you want a sencondary-bars

<nav class="bar-standard bar-header-secondary"></nav>
-->
<!-- content -->

<nav class="my-nav-menu" data-value="my/atme-list">
</nav>

<div class="content">
<list id="my-atme-list" 
    autoLoad="false"
    isPullDownRefresh="true"  
    jsonRoot="activelist"
    bundle="fs"
    paging="true"
    iScroll="true"
    _itemTemplate="atmeListTemplate"></list>
</div>

</div>

<footer class="footer-menu" data-value="my"></footer>